home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 07 - 1991 / 07.01 Jan 91 / Object Design / line feed removal / CRemoveLFPane.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-11-23  |  762 b   |  31 lines  |  [TEXT/KAHL]

  1. /****
  2.  * CRemoveLFPane.h
  3.  *
  4.  *    Pane class for a typical application.
  5.  *
  6.  ****/
  7.  
  8. #define _H_CRemoveLFPane            /* Include this file only once */
  9. #include <CPanorama.h>
  10.  
  11. struct CRemoveLFPane : CPanorama {
  12.                                     /** Contruction/Destruction **/
  13.     void        IRemoveLFPane(CView *anEnclosure, CBureaucrat *aSupervisor,
  14.                             short aWidth, short aHeight,
  15.                             short aHEncl, short aVEncl,
  16.                             SizingOption aHSizing, SizingOption aVSizing);
  17.  
  18.                                     /** Drawing **/
  19.     void        Draw(Rect *area);
  20.  
  21.                                     /** Mouse **/
  22.     void        DoClick(Point hitPt, short modifierKeys, long when);
  23.     Boolean        HitSamePart(Point pointA, Point pointB);
  24.     
  25.                                     /** Cursor **/
  26.     void        AdjustCursor(Point where, RgnHandle mouseRgn);
  27.  
  28.                                     /** Scrolling **/
  29.     void        ScrollToSelection(void);
  30. };
  31.